package com.asset.dispoal.flawPool.api;

import com.asset.dispoal.flawPool.dto.FlawPoolRequest;
import com.asset.dispoal.flawPool.dto.FlawPoolResponse;
import tech.mhuang.pacebox.springboot.protocol.Result;
import tech.mhuang.pacebox.springboot.protocol.data.PageVO;

/**
 * @author qr
 * @date 2022/5/23$
 */
public interface FlawPoolService {


    /**
     * 添加
     *
     * @param request
     * @return
     */
    Result insertFlawPool(FlawPoolRequest request);


    /**
     * 修改
     *
     * @param request
     * @return
     */
    Result updateFlawPool(FlawPoolRequest request);

    /**
     * 删除
     *
     * @param id
     * @return
     */
    Result delFlawPool(String id);


    /**
     * 分页查询
     *
     * @param request
     * @return
     */
    Result<PageVO<FlawPoolResponse>> queryFlawPool(FlawPoolRequest request);


}
